home *** CD-ROM | disk | FTP | other *** search
- on movWatch
- global md1, md2, md3, md4, md5, md6, rantime, mp, ran
- if the machineType = 256 then
- set xxx to "md" & mp - 3 & EMPTY
- set mdx to value(xxx)
- if (the ticks - rantime) > 240 then
- set mp to random(ran) + 3
- set rantime to the ticks
- set xxx to "md" & mp - 3 & EMPTY
- set mdx to value(xxx)
- end if
- if the movieTime of sprite mp > mdx then
- set the movieRate of sprite mp to -0.80000000000000004
- end if
- if the movieTime of sprite mp < 3 then
- set the movieRate of sprite mp to 0.80000000000000004
- end if
- if the movieRate of sprite mp = 0 then
- set the movieRate of sprite mp to 1
- end if
- else
- if the movieTime of sprite 4 > md1 then
- set the movieRate of sprite 4 to -1
- end if
- if the movieTime of sprite 4 < 3 then
- set the movieRate of sprite 4 to 1
- end if
- if the movieRate of sprite 4 = 0 then
- set the movieRate of sprite 4 to 1
- end if
- if md2 = 0 then
- exit
- end if
- if the movieTime of sprite 5 > md2 then
- set the movieRate of sprite 5 to -1
- end if
- if the movieTime of sprite 5 < 3 then
- set the movieRate of sprite 5 to 1
- end if
- if the movieRate of sprite 5 = 0 then
- set the movieRate of sprite 5 to 1
- end if
- if md3 = 0 then
- exit
- end if
- if the movieTime of sprite 6 > md3 then
- set the movieRate of sprite 6 to -1
- end if
- if the movieTime of sprite 6 < 3 then
- set the movieRate of sprite 6 to 1
- end if
- if the movieRate of sprite 6 = 0 then
- set the movieRate of sprite 6 to 1
- end if
- if md4 = 0 then
- exit
- end if
- if the movieTime of sprite 7 > md4 then
- set the movieRate of sprite 7 to -1
- end if
- if the movieTime of sprite 7 < 3 then
- set the movieRate of sprite 7 to 1
- end if
- if the movieRate of sprite 7 = 0 then
- set the movieRate of sprite 7 to 1
- end if
- if md5 = 0 then
- exit
- end if
- if the movieTime of sprite 8 > md5 then
- set the movieRate of sprite 8 to -1
- end if
- if the movieTime of sprite 8 < 3 then
- set the movieRate of sprite 8 to 1
- end if
- if the movieRate of sprite 8 = 0 then
- set the movieRate of sprite 8 to 1
- end if
- if md6 = 0 then
- exit
- end if
- if the movieTime of sprite 9 > md6 then
- set the movieRate of sprite 9 to -1
- end if
- if the movieTime of sprite 9 < 3 then
- set the movieRate of sprite 9 to 1
- end if
- if the movieRate of sprite 9 = 0 then
- set the movieRate of sprite 9 to 1
- end if
- end if
- end
-